<?php
/**
 * +----------------------------------------------------------------------
 * | Copyright © Sogu Technologies Co. Ltd 2018-2050 All rights reserved.
 * +----------------------------------------------------------------------
 * | File name: common.php
 * +----------------------------------------------------------------------
 * | Author: sam
 * +----------------------------------------------------------------------
 * | Description: 自定义配置文件
 * +----------------------------------------------------------------------
 * | Others: 其他内容的说明
 * +----------------------------------------------------------------------
 * | History: 修改历史记录列表，每条修改记录应包含修改日期、修改者及修改内容简述
 * +----------------------------------------------------------------------
 * | 1.Date: 2018/12/25 Author: sam Modification: 创建
 * +----------------------------------------------------------------------
 */

return [
    /**
     * 资金平台相关设置
     */
    'money_platform_base_uri' => env('MONEY_PLATFORM_BASE_URI'),
    'money_platform_pub_version' => env('MONEY_PLATFORM_PUB_VERSION'),
    'money_platform_pub_mer_no' => env('MONEY_PLATFORM_PUB_MER_NO'),
    'money_platform_pub_sign' => env('COMMON_PLATFORM_PUB_SIGN'),
    'money_platform_product_no' => env('PRODUCT_NO','P0003'),
    //老的资方平台商户号
    'old_money_platform_pub_mer_no' => env('OLD_MONEY_PLATFORM_PUB_MER_NO'),

    /**
     * 公共平台相关设置
     */
    'common_platform_base_uri' => env('COMMON_PLATFORM_BASE_URI'),
    'common_platform_pub_version' => env('COMMON_PLATFORM_PUB_VERSION'),
    'common_platform_pub_mer_no' => env('COMMON_PLATFORM_PUB_MER_NO'),
    'common_platform_pub_sign' => env('COMMON_PLATFORM_PUB_SIGN'),
    //老的公共平台商户号
    'old_common_platform_pub_mer_no' => env('OLD_COMMON_PLATFORM_PUB_MER_NO'),
    //裸扣的url
    'buckle_url' => env('BUCKLE_URL'),
    /**
     * 商城平台相关设置
     */
    'bbp_platform_base_uri'=>env('BBP_PLATFORM_BASE_URI'),

    /**
     * 催收相关的设置
     */
    'collection_base_uri' => env('COLLECTION_BASE_URI'),
    'collection_org_code' => env('COLLECTION_ORG_CODE'),

    /**
     * 银行卡长度大小限制
     */
    'max_bank_no_size' => env('MAX_BANK_NO_SIZE',19),
    'min_bank_no_size' => env('MIN_BANK_NO_SIZE',16),

    /**
     * APP端文件大小限制
     */
    'frontend_max_file_size' => env('FRONTEND_MAX_FILE_SIZE',2097152),

    /**
     * APP上传文件路径数组
     */
    'frontend_path'=>[
        'cert_file',
    ],

    'frontend_upload_type'=>[
        'img',
        'str',
    ],

    /**
     * 后端文件大小限制
     */
    'backend_max_file_size' => env('FRONTEND_MAX_FILE_SIZE',2097152),

    'oss_endpoint_url'=>env('OSS_ENDPOINT_URL'),

    'default_rate'=>env('DEFAULT_RATE',0.34),

    'face_limit'=>env('FACE_LIMIT',3),

    'shop_index_url'=>env('SHOP_INDEX_URL'),

    'shop_order_url'=>env('SHOP_ORDER_URL'),

    'common_period'=>['3','6','9','12'],

    'h5_domain'=>env('H5_DOMAIN'),

    'face_identify_limit'=>env('FACE_IDENTIFY_LIMIT',5),

    'face_compare_limit'=>env('FACE_COMPARE_LIMIT',3),
];